package com.wzcl.app.model.dto;

import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import javax.validation.constraints.NotNull;

/**
 * @author beingven
 * @Description TODO
 * @createTime 2020年11月19日 09:48:00
 */
@Data
public class IosPayDto {
    @ApiModelProperty(value = "base64校验体")
    @NotNull(message = "base64校验体不能为空")
    private String transactionReceipt;

    @ApiModelProperty(value = "支付的订单号")
    @NotNull(message = "订单号不能为空")
    private String orderNo;

    @ApiModelProperty(value = "此次订单购买的学币数量")
    @NotNull(message = "产品id不能为空")
    private String productId;

    @Override
    public String toString() {
        return "IosPayDto{" +
                "transactionReceipt='" + transactionReceipt + '\'' +
                ", orderNo='" + orderNo + '\'' +
                ", productId='" + productId + '\'' +
                '}';
    }
}
